<template>
	<view class="page">
		<view class="tab-bar">
			<view class="tab-item actived">
				市场调研
			</view>
			<view class="tab-item">
				竞品调研
			</view>
		</view>
		<view class="tab-view">
			<view class="search-bar">
				<view class="search-item">
					省市区
					<u-icon name="arrow-down-fill" size="15rpx" color="#999999"></u-icon>
				</view>
				<view class="search-item">
					调研情况
					<u-icon name="arrow-down-fill" size="15rpx" color="#999999"></u-icon>
				</view>
			</view>
			<view class="list">
				<view class="item">
					<view class="title">
						河北-石家庄-赵县
						<view class="state green">
							已调研
						</view>
					</view>
					<view class="remark">
						调研人：胡图图 | 2023-09-23
					</view>
				</view>
				
				<view class="item">
					<view class="title">
						河北-石家庄-赵县
						<view class="state">
							未调研
						</view>
					</view>
					<view class="remark">
						调研人：胡图图 | 2023-09-23
					</view>
				</view>
			</view>
			<view class="footer-btn">
				添加区域
			</view>
		</view>
		
		<view class="tab-view">
			<view class="search-bar">
				<view class="search-item">
					省市区
					<u-icon name="arrow-down" size="15rpx"></u-icon>
				</view>
				<view class="search-item">
					品牌
					<u-icon name="arrow-down" size="15rpx"></u-icon>
				</view>
				<view class="search-item">
					调研情况
					<u-icon name="arrow-down" size="15rpx"></u-icon>
				</view>
			</view>
			<view class="list">
				<view class="item">
					<view class="title">
						河北-石家庄-赵县
						<view class="state green">
							已调研
						</view>
					</view>
					<view class="remark">
						调研人：胡图图 | 2023-09-23
					</view>
				</view>
				
				<view class="item">
					<view class="title">
						河北-石家庄-赵县
						<view class="state">
							未调研
						</view>
					</view>
					<view class="remark">
						调研人：胡图图 | 2023-09-23
					</view>
				</view>
			</view>
			<view class="footer-btn">
				添加竞品
			</view>
		</view>
		
	</view>
</template>

<script>
</script>

<style>
	uni-page-body{
		min-height: 100%;
		background: #F5F5F5;
	}
	.tab-bar{
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 18rpx 0;
		background-color: #FFFFFF;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
	}
	.tab-item{
		line-height: 64rpx;
		padding: 0 24rpx;
		background: #FFFFFF;
		border: 1px solid #E5E5E5;
		border-right: none;
		font-size: 28rpx;
		font-family: Microsoft YaHei;
		font-weight: 400;
		color: #666666;
	}
	.tab-item.actived{
		border: 1px solid #307DCD;
		background: #307DCD;
		font-weight: bold;
		color: #FFFFFF;
	}
	.tab-item:first-child{
		border-radius: 6rpx 0rpx 0rpx 6rpx;
	}
	.tab-item:last-child{
		border-radius: 0rpx 6rpx 6rpx 0rpx;
		border-right: 1px solid #E5E5E5;
	}
	
	.search-bar{
		display: flex;
		align-items: center;
		background-color: #FFFFFF;
		border-top: 1px solid #E2E2E2;
		position: fixed;
		top: 100rpx;
		left: 0;
		right: 0;
	}
	.search-item{
		font-size: 28rpx;
		font-family: Microsoft YaHei;
		font-weight: 400;
		color: #666666;
		line-height: 90rpx;
		flex: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		position: relative;
	}
	.search-item .u-icon{
		margin-left: 12rpx;
	}
	.search-item::after{
		content: '';
		display: inline-block;
		width: 1rpx;
		height: 40rpx;
		background: #E2E2E2;
		position: absolute;
		right: 0;
		top: 50%;
		transform: translate(0, -50%);
	}
	.list{
		margin-top: 20rpx;
		padding-top: 190rpx;
		padding-bottom: 120rpx;
	}
	.item{
		background: #FFFFFF;
		border-bottom:  1px solid #E2E2E2;
		padding: 27rpx 29rpx;
	}
	.title{
		font-size: 30rpx;
		font-family: Microsoft YaHei;
		font-weight: 400;
		color: #333333;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	.title .state{
		font-size: 28rpx;
		font-family: Microsoft YaHei;
		font-weight: 300;
		color: #333333;
	}
	.title .state.green{
		color: #00A854;
	}
	.remark{
		margin-top: 10rpx;
		font-size: 24rpx;
		font-family: Microsoft YaHei;
		font-weight: 400;
		color: #666666;
	}
	.footer-btn{		
		text-align: center;
		line-height: 100rpx;
		background: #307DCD;
		font-size: 30rpx;
		font-family: Microsoft YaHei;
		font-weight: 300;
		color: #FFFFFF;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
	}
</style>